﻿using BPMN.Application.Contracts.DTO.ProceSS;
using BPMN.Application.Contracts.DTO.Response;
using BPMN.Domain.Entity.DefectiveModel;
using BPMN.Domain.ProcessModel;
using BPMN.DomianShare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Application.IService
{
    public interface IProcesService: IScoped
    {


        /// <summary>
        /// 工序显示数据
        /// </summary>
        /// <returns></returns>
        Task<ResultResponseDto<List<ProCcessShowDto>>> ProCcessShow(string Process_BianHao, string Process_Name, int Reporting_Id, int Defective_Id, decimal PeiBiMin, decimal PeibiMax , string dateMax, string dateMin);

        /// <summary>
        /// 报工权限
        /// </summary>
        /// <returns></returns>
        Task<ResultResponseDto<List<Reporting>>> GetResult();

        /// <summary>
        /// 不良品相显示数据
        /// </summary>
        /// <returns></returns>
        Task<ResultResponseDto<List<Defective>>> GetDefective();
        /// <summary>
        /// 工序单表显示数据
        /// </summary>
        /// <returns></returns>
        Task<ResultResponseDto<List<ProcessShows>>> GetResultShows();
        /// <summary>
        /// 添加
        /// </summary>
        /// <returns></returns>
        Task<int> ResultAdd(ProcessShows process);

    }
}
